Inheritance diagram for TBasicMouseAction:

Public Member Functions | |
| virtual MCErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj) |
| virtual uint32 MCCOMAPI | AddRef () |
| virtual MCCOMErr MCCOMAPI | Do () |
| virtual MCCOMErr MCCOMAPI | Undo () |
| virtual MCCOMErr MCCOMAPI | Redo () |
| virtual boolean MCCOMAPI | WillCauseChange () |
| virtual boolean MCCOMAPI | CanUndo () |
| virtual MCCOMErr MCCOMAPI | GetName (TMCString &name) |
| virtual void MCCOMAPI | Track (IMCGraphicContext *gc, int16 stage, TMCPoint &first, TMCPoint &prev, TMCPoint &cur, boolean moved, IShMouseAction **nextAction) |
| virtual MCCOMErr MCCOMAPI | Feedback (IMCGraphicContext *gc, int16 stage, const TMCPoint &first, const TMCPoint &prev, const TMCPoint &cur, boolean moved, boolean show) |
| virtual void MCCOMAPI | GetPartToRedraw (IMFPart **outPart, int32 stage) |
| virtual MCCOMErr MCCOMAPI | Constrain (IMCGraphicContext *gc, int16 stage, const TMCPoint &first, const TMCPoint &prev, TMCPoint &cur, boolean moved) |
| virtual boolean MCCOMAPI | NeedsToPrepareMenus (void) |
| virtual boolean MCCOMAPI | ConstrainedToView (void) |
| virtual boolean MCCOMAPI | IsPerpetualMouseAction (void) |
| virtual boolean MCCOMAPI | ShouldHideCursor (void) |
| virtual boolean MCCOMAPI | ShouldAutoScroll (void) |
| virtual boolean MCCOMAPI | KeepTracking () |
|
|
Increments the reference count of the object Reimplemented from TBasicUnknown. |
|
|
Returns true if the action is undoable. If CanUndo() returns false, Undo() and Redo() should return MC_E_NOTIMPL and do nothing.
Implements IShMouseAction. |
|
||||||||||||||||||||||||||||
|
Use this method to constrain the 'cur' position to a value, before Track() is called
Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
|
|
Function called to actually perform the action.
Implements IShMouseAction. |
|
||||||||||||||||||||||||||||||||
|
Allows the action to draw things related to the tracking. Feedback() is called for the first time right before the first call of Track(kShBeginTracking), and then Feedback() is called right after each call to Track().
Implements IShMouseAction. |
|
|
Return the name to display in the undo/redo list.
Implements IShMouseAction. |
|
||||||||||||
|
Gives the action the opportunity to tell the Shell that the returned part should be redrawn after Do/Undo/Redo. Return NULL in outPart if no redraw is needed.
Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
|
|
Returns false if you do not want the mouse action to perform any tracking. This is useful if you just want to do something on the click.
Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
|
||||||||||||
|
Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.
Reimplemented from TBasicUnknown. |
|
|
Called to Redo the action. This can often simply call Do(). Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
|
||||||||||||||||||||||||||||||||
|
Called each time the mouse moves. At least, Track() is called three times (even if the mouse does not move).
Implements IShMouseAction. Reimplemented in TSimpleMouseAction. |
|
|
Called to undo the action.
Implements IShMouseAction. |
|
|
Implements IShMouseAction. |
1.4.5